package com.xuan.webfinally.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 边坡设备信息表
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("slope_device_info")
@ApiModel(value="SlopeDeviceInfo对象", description="边坡设备信息表")
public class SlopeDeviceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "逻辑主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "设备名称")
    @TableField("device_name")
    private String deviceName;

    @ApiModelProperty(value = "所属监测点")
    @TableField("monitor_id")
    private String monitorId;

    @ApiModelProperty(value = "供应商")
    @TableField("sensor_brand")
    private String sensorBrand;

    @ApiModelProperty(value = "设备型号")
    @TableField("sensor_model")
    private String sensorModel;

    @ApiModelProperty(value = "设备ID")
    @TableField("sensor_id")
    private String sensorId;

    @ApiModelProperty(value = "设备SN")
    @TableField("device_sn")
    private String deviceSn;

    @ApiModelProperty(value = "固件版本号")
    @TableField("firmware_version")
    private String firmwareVersion;

    @ApiModelProperty(value = "通讯状态")
    @TableField("comm_status")
    private String commStatus;

    @ApiModelProperty(value = "数据状态")
    @TableField("data_status")
    private String dataStatus;

    @ApiModelProperty(value = "接入协议")
    @TableField("protocol")
    private String protocol;

    @ApiModelProperty(value = "物联网卡ICCID")
    @TableField("iccid")
    private String iccid;

    @ApiModelProperty(value = "管养部门")
    @TableField("dept_id")
    private Integer deptId;

    @ApiModelProperty(value = "数据时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
